ValidationParameter Annotation

The ValidationParameter annotation is used as a parameter for CustomValidators.

Usage

The annotation must embedded into CustomValidator annotations as a parameter.

Parameters

Parameter Required Default Notes
name yes   parameter name.
value yes   parameter value.

Examples

@CustomValidator(
  type ="customValidatorName",
  fieldName = "myField",
  parameters = { @ValidationParameter( name = "paramName", value = "paramValue" ) }
)